package com.cloud.api.domain.sys;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Getter
@Setter
@Accessors(chain = true)
public class CheckName implements Serializable {

    @Schema(description = "id")
    private String id;


    @Schema(description = "名称")
    @NotEmpty(message = "名称不能为空")
    private String name;
}
